﻿je_smo_reconquest = {
	icon = "gfx/interface/icons/event_icons/event_military.dds"

	is_shown_when_inactive = {
		exists = c:SMO
		c:SMO = ROOT
	}

	possible = {
		is_subject = no
	}

	# note that if you change this, also update the decision
	complete = {
		owns_entire_state_region = STATE_SMOLENSK
		owns_entire_state_region = STATE_BRYANSK
	}

    on_complete = {

	}

	fail = {
		year >= 1850
	}

	on_monthly_pulse = {
		effect = {
			if = {
				limit = {
					exists = c:MSO
					year >= 1839
					NOT = { has_variable = smo_mso_war }
				}
				random_list = {
					11 = { }
					1 = {
						trigger_event = { id = dvg_smo.1 }
					}
				}
				
			}
		}
	}
	
	weight = 100
	should_be_pinned_by_default = yes
}
